package cn.csc.module.shop.api.user;

import cn.csc.framework.common.pojo.CommonResult;
import cn.csc.module.shop.api.user.dto.ShopUserRespDTO;
import cn.csc.module.shop.enums.ApiConstants;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author liuchuang
 * @version 1.0
 * @date 2024/2/19 11:40
 * @modify
 */
@FeignClient(name = ApiConstants.NAME) // TODO fallbackFactory =
@Api(tags = "RPC 服务 - 店铺用户")
public interface ShopUserApi {

    String PREFIX = ApiConstants.PREFIX + "/shop-user";

    @GetMapping(PREFIX + "/get")
    @ApiOperation("获得店铺用户")
    CommonResult<ShopUserRespDTO> getShopUser();

}
